package com.yx.shiro.Service.impl;

import com.yx.shiro.Service.UserService;
import com.yx.shiro.entity.User;
import com.yx.shiro.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;

public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
